ostree/deploy: Test finalization locking
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 21 Jan 2022 18:47:02 +0000 (13:47 -0500)
committerJonathan Lebon <jonathan@jlebon.com>
Fri, 21 Jan 2022 18:48:35 +0000 (13:48 -0500)
commitbaf838de229a7934e4ee0cf27a10a54d6aac28fd
tree33803b3d6357502ec97a2bfc85f6e5b006e7528d
parent88dca03967ede45c4be475eafd005b6c881e6a56
ostree/deploy: Test finalization locking

Support for that file was added previously, but the testing lived in
rpm-ostree only. Let's add it here too.

In the process add a hidden `--lock-finalization` to `ostree admin
deploy` to make testing easier (though it could also be useful to update
managers driving OSTree via the CLI).
src/ostree/ot-admin-builtin-deploy.c
tests/kolainst/destructive/staged-deploy.sh